package com.tem.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资金流-历史记录处理,线上,,主键由bill账单表生成
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bill_online")
@ApiModel(value="BillOnline对象", description="资金流-历史记录处理,线上,,主键由bill账单表生成")
public class BillOnline implements Serializable {

    private static final long serialVersionUID=2344566780891L;

    @ApiModelProperty(value = "账单历史记录--线上")
    @TableId("bill_id")
    private Long billId;

    @ApiModelProperty(value = "业务名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "支付名称")
    @TableField("payment")
    private String payment;

    @ApiModelProperty(value = "支付时间")
    @TableField("pay_time")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付金额 负数=支出")
    @TableField("pay_money")
    private BigDecimal payMoney;

    @ApiModelProperty(value = "支付确认人")
    @TableField("confirm_user_id")
    private Long confirmUserId;

    @ApiModelProperty(value = "确认时间")
    @TableField("confirm_time")
    private LocalDateTime confirmTime;

    @ApiModelProperty(value = "备注")
    @TableField("msg")
    private String msg;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
